{{include file="header.html"}}
	<div class="header new_header">
		<div class="nav">
		    <div class="title"><a href="javascript:">最新揭晓</a></div>
		</div>
	</div>
	<div class="container">
		<div class="newlist newsbox">
			<ul class="i_ul">
				
			</ul>
		</div>
	</div>
	<script type="text/javascript">

	var page = 1;
	var over = false;
	if(!over) loadmore();
	function loadmore(){
		$.get('{{"index.php?app=News&act=getnew"|URL}}',{page:page},function(xml){
		if(xml.statusCode == '200'){
			$(".i_ul").append(xml.message);
			countdown();
			++page;
		}else  over = true;
 		},'json');
	}

	function countdown(){
		$(".count_down").each(function(){
			var $this = $(this);
			var time = $this.attr('count-down');
			$this.countDown(eval('(' + time + ')'));
		})
	}

	//倒计时
	$(document).ready(function(){
		$(window).scroll(function(){
			var scrollTop = $(this).scrollTop();               //滚动条距离顶部的高度
	  　　	var scrollHeight = $(document).height();           //当前页面的总高度
	  　　	var windowHeight = $(this).height();               //当前可视的页面高度
	  　		if(scrollTop + windowHeight >= scrollHeight){        //距离顶部+当前高度 >=文档总高度 即代表滑动到底部
	  			if(!over) loadmore();
	        }
	   });
	});
	</script>
{{include file="menu2.html"}}